package com.yuelife.service.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:admin
 * @Description:SCollection构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "SCollection",value = "SCollection")
@Table(name="s_collection")
public class SCollection implements Serializable{

	@ApiModelProperty(value = "主键(收藏自增长)",required = false)
	@Id
    @Column(name = "collection_id")
	private Integer collectionId;//主键(收藏自增长)

	@ApiModelProperty(value = "商品id",required = false)
    @Column(name = "serviceId")
	private Integer serviceId;//商品id

	@ApiModelProperty(value = "业主id",required = false)
    @Column(name = "uid")
	private Integer uid;//业主id

	@ApiModelProperty(value = "收藏时间",required = false)
    @Column(name = "collction_time")
	private Date collctionTime;//收藏时间



	//get方法
	public Integer getCollectionId() {
		return collectionId;
	}

	//set方法
	public void setCollectionId(Integer collectionId) {
		this.collectionId = collectionId;
	}
	//get方法
	public Integer getServiceId() {
		return serviceId;
	}

	//set方法
	public void setServiceId(Integer serviceId) {
		this.serviceId = serviceId;
	}
	//get方法
	public Integer getUid() {
		return uid;
	}

	//set方法
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	//get方法
	public Date getCollctionTime() {
		return collctionTime;
	}

	//set方法
	public void setCollctionTime(Date collctionTime) {
		this.collctionTime = collctionTime;
	}


}
